#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTimer>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class NetworkSanner;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_arp_scan_btn_clicked();

    void on_icmp_scan_Btn_clicked();

    void on_tcp_connect_scan_Btn_clicked();

    void on_tcp_syn_scan_Btn_clicked();

    void on_tcp_fin_scan_Btn_clicked();

    void on_udp_scan_Btn_clicked();

private:
    Ui::MainWindow *ui;

    NetworkSanner* m_scanner;

    QTimer m_timer;
    QTimer m_tcp_fin_timer;
    QTimer m_udp_timer;
};
#endif // MAINWINDOW_H
